extends ../public/layout
block title
    title 地址管理
block content
    .am-container.py-box
        .am-g.add-border-bottom.md-font-size
            .am-u-sm-6.am-text-left 李大华
            .am-u-sm-6.am-text-right 18271870647
            .am-u-sm-12.am-padding-xs 上海市徐汇区漕河泾开发区国际商务中心A座1704室上海大众品药公司
        .am-g.am-padding-top-sm
            .am-u-sm-4.green-font.setDefault
                i.am-inline-block.user-option-icon.default-address-icon
                span 默认地址
            .am-u-sm-7.am-text-right.pure-gray-font
                span
                    i.am-inline-block.user-option-icon.address-edit-icon
                    | 编辑
                span.delAdd
                    i.am-inline-block.user-option-icon.address-delete-icon
                    | 删除
    .am-container.py-box
        .am-g.add-border-bottom.md-font-size
            .am-u-sm-6.am-text-left 李大华
            .am-u-sm-6.am-text-right 18271870647
            .am-u-sm-12.am-padding-xs 上海市徐汇区漕河泾开发区国际商务中心A座1704室上海大众品药公司
        .am-g.am-padding-top-sm
            .am-u-sm-4.gray-font.setDefault
                i.am-inline-block.user-option-icon.set-address-icon

                span 设为默认
            .am-u-sm-7.am-text-right.pure-gray-font
                span
                    i.am-inline-block.user-option-icon.address-edit-icon
                    | 编辑
                span.delAdd
                    i.am-inline-block.user-option-icon.address-delete-icon
                    | 删除
    .am-container.py-box
        .am-g.add-border-bottom.md-font-size
            .am-u-sm-6.am-text-left 李大华
            .am-u-sm-6.am-text-right 18271870647
            .am-u-sm-12.am-padding-xs 上海市徐汇区漕河泾开发区国际商务中心A座1704
        .am-g.am-padding-top-sm
            .am-u-sm-4.gray-font.setDefault
                i.am-inline-block.user-option-icon.set-address-icon

                span  设为默认
            .am-u-sm-7.am-text-right.pure-gray-font
                span
                    i.am-inline-block.user-option-icon.address-edit-icon
                    | 编辑
                span.delAdd
                    i.am-inline-block.user-option-icon.address-delete-icon
                    | 删除
    .am-g.am-padding-sm
        button.am-btn.am-radius.am-btn-block.payBtn(type="button") 添加新地址
    #delAdd.am-modal.am-modal-confirm(tabindex='-1')
        .am-modal-dialog
            .am-modal-bd
                | 确认删除该地址吗？
            .am-modal-footer
                span.am-modal-btn(data-am-modal-cancel='') 取消
                span.am-modal-btn(data-am-modal-confirm='') 确认

block script_for_currentPage
    script(src="../../bower_components/amazeui/dist/js/amazeui.min.js" type="text/javascript")
    script(src="../../public/javascripts/userCenter/address.js" type="text/javascript")
    script(type='text/javascript').
        $(function () {
            address.init();
        });

